<?php
require ('includes/config.php');
$page_title = 'Events';
include ('includes/header.php');
?>


<div class="container-fluid">

<!--fluid sidebar 3 columns  rendered from include file  -->
	<div class="span3">
		<div class="well sidebar-nav">
<?php
require ('includes/side_nav.php');
?>

         </div>
    </div>
   <!---end of sidebar 3 columns  -->
  
  <div class="span9">
  		
    <div id="scheduler_here" class="dhx_cal_container" style='width:700px; height:600px; padding:10px; margin:10px;'>

		<div class="dhx_cal_navline">   
			<div class="dhx_cal_prev_button">&nbsp;</div>
			<div class="dhx_cal_next_button">&nbsp;</div>
			<div class="dhx_cal_today_button"></div>
			<div class="dhx_cal_date"></div>
			<div class="dhx_cal_tab" name="day_tab" style="right:204px;"></div>
			<div class="dhx_cal_tab" name="week_tab" style="right:140px;"></div>
			<div class="dhx_cal_tab" name="month_tab" style="right:76px;"></div>
		</div>
		<div class="dhx_cal_header">
		</div>
		<div class="dhx_cal_data">
		</div>		
    </div>
	
	
	
	
	
   		
  <!--end of hero-unit -->
  <!--start of events list -->
  		  <div class="row-fluid">This is where the events list will go
 		   </div>
    </div>
  <!--end of events list -->

    </div>
	
	    <script type="text/javascript">	
	  		 scheduler.config.xml_date="%Y-%m-%d %H:%i";
	  		 scheduler.config.first_hour = 8;
	 		 scheduler.config.last_hour = 23.00;
	   		 scheduler.config.start_on_monday = true;
        	 scheduler.config.event_duration = 60;
		     scheduler.config.auto_end_date = true;
			 scheduler.config.show_loading=true;
			scheduler.init('scheduler_here',null,"month");
			scheduler.load("data/connector.php");
			
			var dp = new dataProcessor("data/connector.php");
			dp.init(scheduler);
    </script>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="js/bootstrap.min.js"></script>
	<!--<script src="js/bootstrap.js"></script>-->
  </body>
</html>
<?php ob_flush(); ?>

